//
//  commentview.m
//  ZHZtest
//
//  Created by 李彦宏 on 2017/12/27.
//  Copyright © 2017年 LYH. All rights reserved.
//

#import "commentview.h"

@implementation commentview
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

+(instancetype)addview{
    return  [[[NSBundle mainBundle] loadNibNamed:@"commentview" owner:nil options:nil] lastObject];
}

- (void)awakeFromNib{
    [super awakeFromNib];
    [self.goodcolor setBackgroundColor:HWColor(255, 241, 64)];
     [self.centColor setBackgroundColor:HWColor(170, 170, 170)];
     [self.PoolColor setBackgroundColor:HWColor(238, 141, 116)];
    [self setup];
}

// 共同的方法，可以同时兼顾
- (void)setup{
  //  NSLog(@"执行啦xib");
}


@end
